<template>
  <div>
    <el-popover placement="bottom">
      <template #default>
        <el-button @click="submit">提交</el-button>
      </template>
      <template #reference><el-button link type="primary">导入模板</el-button></template>
    </el-popover>
    <el-popover placement="bottom">
      <template #reference><el-button link type="primary">下载模板</el-button></template>
    </el-popover>
  </div>
</template>
<script setup lang="ts">
const { formList } = defineProps<{
  formList: any[];
}>();
const emit = defineEmits(['submit']);
const submit = () => {
  emit('submit');
};
</script>
